/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package entities;

import java.io.Serializable;
import java.util.List;
import javax.persistence.*;
import org.hibernate.annotations.LazyCollection;
import org.hibernate.annotations.LazyCollectionOption;

/**
 *
 * @author akefeli
 */
@Entity
public class EducationSection  extends Section implements Serializable {
    @OneToMany(mappedBy = "educationSection",cascade= CascadeType.ALL)
    @LazyCollection(LazyCollectionOption.FALSE)
    private List<Institute> institutes;
    
    //section education
    private String educationDegreeYears;
    private String educationDegreeField;
    private String educationDegreeDegree;
    private String educationGPACountry;
    private String educationGPAScale;
    private String educationGPA;
    private String educationTotalYears;
    private String educationTotalMonths;

    public String getEducationDegreeDegree() {
        return educationDegreeDegree;
    }

    public void setEducationDegreeDegree(String educationDegreeDegree) {
        this.educationDegreeDegree = educationDegreeDegree;
    }

    public String getEducationDegreeField() {
        return educationDegreeField;
    }

    public void setEducationDegreeField(String educationDegreeField) {
        this.educationDegreeField = educationDegreeField;
    }

    public String getEducationDegreeYears() {
        return educationDegreeYears;
    }

    public void setEducationDegreeYears(String educationDegreeYears) {
        this.educationDegreeYears = educationDegreeYears;
    }

    public String getEducationGPA() {
        return educationGPA;
    }

    public void setEducationGPA(String educationGPA) {
        this.educationGPA = educationGPA;
    }

    public String getEducationGPACountry() {
        return educationGPACountry;
    }

    public void setEducationGPACountry(String educationGPACountry) {
        this.educationGPACountry = educationGPACountry;
    }

    public String getEducationGPAScale() {
        return educationGPAScale;
    }

    public void setEducationGPAScale(String educationGPAScale) {
        this.educationGPAScale = educationGPAScale;
    }

    public String getEducationTotalMonths() {
        return educationTotalMonths;
    }

    public void setEducationTotalMonths(String educationTotalMonths) {
        this.educationTotalMonths = educationTotalMonths;
    }

    public String getEducationTotalYears() {
        return educationTotalYears;
    }

    public void setEducationTotalYears(String educationTotalYears) {
        this.educationTotalYears = educationTotalYears;
    }

    public List<Institute> getInstitutes() {
        return institutes;
    }

    public void setInstitutes(List<Institute> institutes) {
        this.institutes = institutes;
    }
    
    
}
